﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Text;

namespace Core.EF.Entitys
{
    public class Blog:BaseEntity
    {
        public string Url { get; set; }
        public List<Post> Posts { get; set; }
    }
    public class Post: BaseEntity
    {
        public string Title { get; set; }
        public string Content { get; set; }
        public int BlogId { get; set; }
        public Blog Blog { get; set; }
    }
}
